<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Recharge extends Model
{
    protected $table = "recharge";
    protected $guarded = [];

    public function getImageAttributes()
    {
        if ($this->attributes["image"]!=''){
            return Wechart::PATH_IMAGE.'uploads/'.$this->attributes("image");
        }
    }
}
